<?php
require '../../packages/connect_database.php';
mysql_select_db("auction");
$auctor = "";
$query = mysql_query("SELECT * FROM waiting WHERE phone = '{$_COOKIE["phone"]}'");
if(mysql_num_rows($query) == 0) {
	echo "";
	exit();
}
for($i = 0;$i < mysql_num_rows($query);$i++) {
	$result = mysql_fetch_row($query);
	for($j = 0;$j < 10;$j++)
		$auctor .= ($result[$j] . "<fenge>");
	$auctor .= "<record>";
}
echo $auctor;
